Fix minimize: apply css after dialog("option")