Go to Design View of your ‘ArticleView’ Form, and drop a Button into the page. Change its name to edit_article_button, and its role to ‘primary-color’. (You can also set an icon - I like to use the pencil-square icon instead of text for my edit buttons):

Adding an edit button to the ArticleView Form

We want to display a popup when the user clicks the edit_article_button.

Create an event handler for your edit button by double clicking the button in the designer:

  def edit_article_button_click(self, **event_args):
    """This method is called when the button is clicked"""