If 140 is denied, the 485 will be denied at the same time, and then you are out of status. You must leave US and apply for H4 visa. You cannot resume your original H4 status.