Custom form for browser dialog fixed