Changes for Submit button in popup