Fix preview button overriding form actions