Disable submit on buttons press and title changs to the windows