register modal & input fixes