@Override
  public void actionPerformed(JTable table)
  {
    String text = "<html><p>Are you sure you want to remove this media(s) from your library?</p>"
                  + "<p><font size=-2>(The file(s) will not be removed from your drive)</font></p></html>";

    int confirmation = JOptionPane.showConfirmDialog(null, new JLabel(text),
                                                     "Confirm", JOptionPane.OK_CANCEL_OPTION);
    if (confirmation == JOptionPane.OK_OPTION)
      if (table != null)
        for (MediaElement mediaElement : getSelected(table))
          mediaElement.setVisible(false);
      else
        media.setVisible(false);

    ListManager.searchBarUpdate();
  }