Allow the dialog to open

Without this apply call, the dialog would not open.