Remove unneeded modal close methods.