modal now works stand alone