Modify dialog style to accept keyboard events